package com.dms.modules.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dms.modules.product.entity.ProductRecommendationExperiment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 商品推荐实验Mapper接口
 */
@Mapper
public interface ProductRecommendationExperimentMapper extends BaseMapper<ProductRecommendationExperiment> {
    
    @Select("SELECT * FROM product_recommendation_experiment WHERE status = 1")
    List<ProductRecommendationExperiment> getActiveExperiments();
} 